package com.ruoyi.pay.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author yqq
 * @date 2023/10/10
 * @Description
 */
@Data
@Component
@PropertySource("classpath:sand_sdk.properties")
@ConfigurationProperties(prefix = "sandsdk")
public class PayConfig {
    @Value("$(sandsdk.mid)")
    private String mid;
    @Value("$(sandsdk.path)")
    private String path;
    @Value("$(sandsdk.pwd)")
    private String pwd;
}
